package com.migo.service;

import com.migo.entity.FirmwareDevEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2019-11-20 18:36:06
 */
public interface FirmwareDevService {
	
	FirmwareDevEntity queryObject(Integer id);

	List<FirmwareDevEntity> queryList(Map<String, Object> map);

	List<FirmwareDevEntity> queryModelList(Map<String, String> map);

	List<Map<String, Object>> queryFirmwareMap(Map<String, String> map);

	List<FirmwareDevEntity> queryFirmwareObjects(Map<String, String> map);

	List<Map<String, Object>> queryNextVersionList(Map<String, String> map);

	int queryTotal(Map<String, Object> map);
	
	void save(FirmwareDevEntity firmwareDev);
	
	void update(FirmwareDevEntity firmwareDev);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
